﻿using System.Collections;
using System.Collections.Generic;
using BearUtil.Hidden;
using Sirenix.OdinInspector;
using UnityEngine;
namespace BearUtil
{
	[CreateNodeMenu("自定义节点/角色头顶表情"), Title("角色头顶表情")]
	public class ShowEmoji : BearNode
	{

		public override int type { get => 19;}
		[LabelText("角色的map_item_id"), ValueDropdown("getActorName", DropdownWidth = 150), OnValueChanged("setRoleId")]
		public string role_name;
		[HideInInspector]
		public int map_item_id;
		private List<string> getActorName()
		{
			return NodeMethodUtil.GetActorName();
		}
		private void setRoleId(string name)
		{
			map_item_id = NodeMethodUtil.FindRoleIDbyName(name);
		}
		[LabelText("表情样式")]
		public int expression_type;
	}
}
